package zh.demo.webuser.dao;

import org.apache.ibatis.annotations.Mapper;
import zh.demo.sys.dao.BaseDao;
import zh.demo.webuser.model.UserEntity;

import java.util.Map;

/**
 * 用户
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-09-15 09:50:28
 */
@Mapper
public interface WebUserDao extends BaseDao<UserEntity> {
    UserEntity queryByMobile(String mobile);

    /**
     * 第三方登录
     * @param map
     * @return
     */
    UserEntity queryByThirdPartAccount(Map<String, Object> map);
}
